package com.java.base.bridge;


import java.lang.reflect.Method;

public class TestBridge {

    //参考https://www.cnblogs.com/zsg88/p/7588929.html
    public static void main(String[] args) throws NoSuchMethodException {
        Method method = SonString.class.getMethod("bridge", Object.class);
        System.out.println(method.isBridge());
        System.out.println(method.isSynthetic());
        method = SonString.class.getMethod("bridge", String.class);
        System.out.println(method.isBridge());

    }

}
